package com.i3q360.layui.modular.system.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.i3q360.layui.common.base.BaseService;
import com.i3q360.layui.common.base.Format;
import com.i3q360.layui.modular.system.dao.RoleDao;
import com.i3q360.layui.modular.system.entity.SysRole;
import com.i3q360.layui.modular.system.service.RoleService;

@Service
public class RoleServiceImpl extends BaseService<SysRole,RoleDao> implements RoleService{

	
	@Override
	public String whereSql(String paramKey, Object paramValue,Map<String,Object> parameters) {
		
		switch (paramKey) {
		
		default:
			return Format.commonFilter(paramKey, paramValue, parameters);
		}
		
	}

	@Override
	public String orderSql() {
		
		return " order by id asc";
		
	}
	
}
